GtkVolumeButton: Better typography
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Aug 2014 15:06:47 +0000 (11:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 30 Sep 2014 03:05:22 +0000 (23:05 -0400)
Use a small space before %. This matches what we do for percentages
elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=735192

gtk/gtkvolumebutton.c

index d4849f5e3174e82ca0845a34e410901f34fc264a..f40649239a2f02a98eb6083516683b25a12ca348 100644 (file)
@@ -246,7 +246,7 @@ cb_query_tooltip (GtkWidget  *button,
        * Translate the "%d" to "%Id" if you want to use localised digits,
        * or otherwise translate the "%d" to "%d".
        */
-      str = g_strdup_printf (C_("volume percentage", "%d %%"), percent);
+      str = g_strdup_printf (C_("volume percentage", "%d%%"), percent);
     }
 
   gtk_tooltip_set_text (tooltip, str);